#define _CRT_SECURE_NO_WARNINGS  1
#include"String.h"
#if 0


int main()
{
	char arr[][10] = { "wefwef" ,"fwefwef" };
	arr[0][1] = 'q';
	printf("%s", arr[0]);

	return 0;
}
	int a = 10;
	int b = 10;
	int *const _a = &a;
	_a = &b;
	string A("wefewfewfew");
	cout << A << endl;
	void swap(int* p1, int* p2)
	{
		int tmp = *p1;
		*p1 = *p2;
		*p2 = tmp;
}

	void moveZeroes(int* nums, int numsSize) {
		int slow = 0;
		int fast = 1;
		while (fast < numsSize)
		{
			if (nums[slow] != 0)
				slow++;
			else if (nums[fast] != 0)
				swap(&nums[slow++], &nums[fast]);
			fast++;
		}
	}
#endif // 0
int sq(size_t len)
{
	char* str = new char[len + 1];
	delete[]str;
	return 1;
}

void test_string()
{
	zy::string s("Hello World!");
	zy::getline(cin,s);
	cout << s <<s<<endl;


	//zy::string s2(s+='e');
	//s2+="ewfwfwef";
	//s2.insert(0, "AEEWFWDSCRGRWGW+RGRVSRHYRKIYLOUIYKUMFNGDFSDFAGHDGNFSD");
	//cout << s2.c_str() << endl;
	//s2.erase(s2.find('+'), 1);
	//cout << s2.c_str() << endl;
	/*zy::string s3(s2.substr(0));

	for (auto zu : s3)
	{ 
		cout << zu;
	}*/
	
	//for (auto z : s2)
	//{
	//	cout << z << ' ';
	//}
	//cout << endl;
}


int main()
{	
	test_string();

	return 0;
}
